home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2003-07-31 | 1.1 KB | 46 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH"="Program Options\Other Programs\MS Terminal Services"
- "NAME"="Clear Items"
- "VERSION"="1.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent file list"
- "DESCRIPTION 1"="If you do not want that other people can see the items you have opened, click the button."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://members.fortunecity.com/computingx/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Aren't plug-in comments great? <g> - CptSiskoX"
- "COMMENT 2"="http://www.fortunecity.com/meltingpot/ny/413/"
-
- sP="HKCU\Software\Microsoft\Terminal Server Client\Default"
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- for l=1 to 50
- s="mru" & l
- v=RegReadValue(sP & s)
-
- If IsEmpty(v)=false then
- Call RegDeleteValue(sP & S)
- end if
- Next
-
- Call MsgInformation("Cleared!")
- end if
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-